Repository navigation
signal-flow: the stage timeline's start, attempt, and note; the event log's extensions; v0.5.0 - #13
Merged
Merged
Conversation
…7.91, web-foundation v0.5.1, mise-action v5.5.0 - claude-plugins 0.25.0 -> 0.26.0; lint-references' new relative resolution of `../` references finds no broken reference, so no doc changes. - chrome-headless-shell 158.0.8127.88 -> 158.0.8127.91, with the linux-x64 zip's checksum and size taken from the downloaded archive. - web-foundation's devDependency pin v0.5.0 -> v0.5.1; the peer range stays ^0.5.0. - jdx/mise-action v5.4.0 -> v5.5.0 in ci.yml and release.yml. - No version bump or CHANGELOG entry: the 0.5.0 section lists this upgrade. The README's install lines keep web-foundation#v0.5.0, since they document the released 0.4.0.
A stage takes three optional fields. startedAt gives a complete or failed stage its duration to its shown time, and an active stage its elapsed time, ticking each second, by the foundation's formatDuration in its digital style. attempt, a positive integer, shows as "Attempt n" above 1. note shows on its own row under the detail line, above a failed stage's reason. Decisions: - The duration and attempt each take a fixed slot on the alternatives utility, reserved in every stage: the duration's hold is the longest under a day (23:59:59), the attempt's "Attempt 99". A duration of a day or more, or an attempt past 99, widens its own slot. At narrow widths the reserved slots can wrap the detail line to a second row before they fill. - One setInterval of a second, started from updated and connectedCallback while an active stage has a valid start, stopped otherwise and on disconnect. Each render reads the clock once. - An active stage's elapsed time clamps at zero (a start a little ahead of the page's clock); a complete or failed stage whose start is after its end shows no duration. A pending stage shows none. - A blank note or reason (whitespace only) shows nothing. - The specimen's running state starts 2:14 before the page loads, so its clock stays under a day.
LogEvent takes an optional extensions, a map of CloudEvents extension attribute names to string values. Each shows under the id as a labelled pair, the name and the value each cut with an ellipsis on its line, whole in its title, without widening the log. The event log specimen gains an event with many long extensions, at full width and at 390px. package.json moves to 0.5.0; CHANGELOG.md gains the 0.5.0 section (the stage timeline's startedAt, attempt, and note; the event log's extensions; the tooling upgrade) and its link; the README's install lines take web-components#v0.5.0 and web-foundation#v0.5.1. Decisions: - Extensions show in name order, compared by UTF-16 code unit, not locale, so every event lists them alike whatever order its producer wrote. - An extension whose value isn't a non-empty string, or whose name is empty, shows nothing, as an empty subject does; extensions that aren't a plain object (null, an array, a string, a number) show nothing. - An extension's name is data, so its label is cut and titled like its value; the fixed labels keep text-nowrap. Every label and value in the metadata is held to the pair's width, since a label over its value at a narrow width otherwise took its max-content width and scrolled the frame sideways.
The duration format typed by the foundation's DurationOptions, as the time format is by Intl.DateTimeFormatOptions; the lifecycle overrides marked override, and updated protected, as the other components' are; the event log's entry in docs/components.md wrapped at 100 columns.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
capstone.data-intelligence.mikoshi · signal-flow · web-components v0.5.0 checkpoint
The web-components part of task
signal-flow, released as v0.5.0 mid-task so Mikoshi can buildits live views on it (the approved task brief's checkpoint).
Summary
sl-stage-timelinestages takestartedAt(a complete or failed stage's duration; an activestage's elapsed time, ticking each second, by the foundation's
formatDuration),attempt("Attempt n" above 1), and
note(its own row, wrapping without widening). Nothing moves as astage ticks or advances.
sl-event-log'sLogEventtakesextensions: each a labelled line in name order, a longname or value cut with an ellipsis.
v0.5.1 (peer stays
^0.5.0), jdx/mise-action v5.5.0.Verify
mise run check: ✓ 523 tests, lints, commentsmise run examples, open the stage-timeline specimen → the running stage at attempt 3 ticksits clock with nothing moving; the failed stage shows its duration, note, and reason.
frame.
Merge danger: the
v0.5.0tag that follows is one-way · blast radius: web-components'consumers that move to v0.5.0 (additions only) · merge waits on CI